
from  ideagen.utils import config

def main():
  
  cfg = config.Config('project.cfg')
  prj = cfg.getOption('project','name')
  basedir = cfg.getOption('project','basedir')
  
  
  print prj,basedir


  cfg = config.Config('dirs.cfg')
  list = cfg.options('dirs')
  for item in list:
      print item
      print cfg.getOption('dirs',item)